
i = 6

if i > 3:
    print("123")

for i in range(4, 8):
    print(i)

sums = 0
print("-------------")
for x in range(10):
    print(x)
    sums += x

print(bytes(sums))


'''
三元运算
'''

print("True" if i > 0 else "False")  # i > 0

'''
另一种写法，不常用 True等于1，而False等于0
(false, true)[0 or 1]
'''
print(("False", "True")[i > 0])  # i > 0

